using Rhino.Commons;

namespace Kym.Core
{
    public static class RepositoryExtensions
    {
        public static void Flush<T>(this IRepository<T> repository)
        {
            UnitOfWork.Current.TransactionalFlush();   
        }
    }
}